import {RouterModule} from '@angular/router';


import {HomeComponent} from './home/home.component';
import {LoginComponent} from './login/login.component';
//消息
import {MessageComponent} from './home/message/message.component';
//会员
import {MemberComponent} from './home/member/member.component';
//首页
import {HomepageComponent} from './home/homepage/homepage.component';
//晒图
import {PhotoComponent} from './home/photo/photo.component';
//我的
import {MineComponent} from './home/mine/mine.component';

export const appRouters = [
  {
    path: '',
    redirectTo: 'home',
    pathMatch: 'full'
  },
  {
    path: 'home',
    loadChildren: './home/home.module#HomeModule'
  },
  {
    path: 'login',
    component: LoginComponent
  }
];




